package com.tong.hao.ac.service.component.test;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author shihao
 * @description 策略二
 */
@Service
@Slf4j
public class StrategySecond implements StrategyInterface {

    @Override
    public String type() {
        return "2";
    }

    @Override
    public String who() {
        log.info("执行策略二");
        return "我是策略二";
    }
}
